<%@ page contentType="application/xhtml+xml; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my" %>
<%@ taglib uri="/WEB-INF/tld/user.tld" prefix="user" %>
<!-- $Id: login.jsp,v 1.1 2010/10/14 17:07:17 fresh Exp $ -->
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
<meta http-equiv="Cache-Control" content="no-cache" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0" />
<meta name="MobileOptimized" content="240" />
<title>个人资料</title>
<c:import url="/WEB-INF/tpl/_include/_css.jsp" />
</head>
<body>
<c:import url="/WEB-INF/tpl/_include/_header.jsp" />
<div class="main">
<c:if test="${not empty basic}">
<div class="t">【基本信息】</div>
<div class="item">姓名：${my:txt(basic.nickname)}</div>
<div class="gap"></div>
<div class="item">性别：${user:sex(basic.sex)}</div>
<div class="gap"></div>
<div class="item">年龄：${my:age(basic.birthday)}</div>
<div class="gap"></div>
<div class="item">星座：${my:constellation(basic.birthday)}</div>
<div class="gap"></div>
<div class="item">所在地：
<c:set var="pid" value="${basic.province}"/>
<c:set var="cid" value="${basic.city}"/>
<c:if test="${not empty pid}"><c:set var="province" value="${my:province(pid)}"/>${my:txt(province.name)}
<c:if test="${not empty cid}"><c:set var="city" value="${my:city(cid)}"/>${my:txt(city.name)}</c:if>
</c:if>
</div>
<div class="gap"></div>
<div class="item">格言：${my:txt(basic.maxim)}"</div>
</c:if>
<c:if test="${not empty interest}">
<div class="t">【个人兴趣爱好】</div>
<div class="item">喜欢的茶：${my:txt(interest.tea)}</div>
<div class="gap"></div>
<div class="item">喜欢的酒：${my:txt(interest.wine)}</div>
<div class="gap"></div>
<div class="item">喜欢的咖啡：${my:txt(interest.coffee)}</div>
<div class="gap"></div>
<div class="item">音乐：${my:txt(interest.music)}</div>
<div class="gap"></div>
<div class="item">电影：${my:txt(interest.movie)}</div>
<div class="gap"></div>
<div class="item">书：${my:txt(interest.book)}</div>
<div class="gap"></div>
<div class="item">动漫：${my:txt(interest.cartoon)}</div>
<div class="gap"></div>
<div class="item">游戏：${my:txt(interest.game)}</div>
<div class="gap"></div>
<div class="item">运动：${my:txt(interest.sport)}</div>
<div class="gap"></div>
<div class="item">欣赏的人：${my:txt(interest.admirePeople)}</div>
</c:if>

<c:if test="${not empty contact}">
<div class="t">【联系信息】</div>
<div class="item">电话：${contact.phone}</div>
<div class="gap"></div>
<div class="item">Email：${contact.email}</div>
<div class="gap"></div>
<div class="item">MSN：${contact.msn}</div>
<div class="gap"></div>
<c:set var="qq" value="${contact.qq}" />
<c:if test="${empty qq or qq eq 0}"><c:set var="qq" value="" /></c:if>
<div class="item">QQ：${qq}</div>
<div class="gap"></div>
<div class="item">地址：${contact.address}</div>
</c:if>

<c:if test="${not empty educations}">
<div class="t">【教育信息】</div>
<c:forEach var="c" items="${educations}" varStatus="s">
<div class="item"><c:if test="${c.degree eq 1}">中学</c:if><c:if test="${c.degree eq 2}">大学</c:if> ${c.starttime}年 ${my:txt(c.school)}</div>
<div class="gap"></div>
</c:forEach>
</c:if>
<c:if test="${not empty works}">
<div class="t">【工作信息】</div>
<c:forEach var="c" items="${works}" varStatus="s">
<div class="item">${my:txt(c.company)} 从${c.starttime}年至${c.endtime}年</div>
<div class="gap"></div>
</c:forEach>
</c:if>
</div>
<c:import url="/WEB-INF/tpl/_include/_footer.jsp" />
</body>
</html>